﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TrainingWorkshop.DAL
{
    public class EFFactory:IFactory
    {
        public IRepository CreateTeacherRepository() {
            return new TeacherRepository_EF();
        }


        public IRepository CreateLevelRepository()
        {
            return  new LevelRepository_EF();
        }


        public IRepository CreateCourseListRepository()
        {
            return  new CourseListRepository_EF();
        }
    }
}
